in loco parentis

in the place of a parent

Notes

A legal term meaning "assuming parental (i.e., custodial) responsibility and authority". Primary and secondary teachers are typically bound by law to act in loco parentis.